<div class="sidebar-scroll">
    <div id="sidebar" class="nav-collapse collapse">

        <!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->
        <div class="navbar-inverse">
            <form class="navbar-search visible-phone">
                <input type="text" class="search-query" placeholder="Search" />
            </form>
        </div>
        <!-- END RESPONSIVE QUICK SEARCH FORM -->
        <!-- BEGIN SIDEBAR MENU -->
        <ul class="sidebar-menu">
            <li class="sub-menu active">
                <a class="" href="<?php echo $this->Html->url(array("controller" => "Home", "action" => "index")); ?>">
                    <i class="icon-dashboard"></i>
                    <span>Toppage</span>

                </a>
            </li>
            <li class="sub-menu">
                <a href="javascript:;" class="">
                    <i class="icon-book"></i>
                    <span>マスター</span>
                    <span class="arrow"></span>
                </a>
                <ul class="sub">
                    <?php if (CakeSession::read('Auth.User.IsAdmin')==1): ?>
                        <li><a class="" id="admin" href="<?php echo $this->Html->url(array("controller" => "admin", "action" => "index")); ?>">管理者データベース  </a></li>
                        <li><a class="" id="customer" href="<?php echo $this->Html->url(array("controller" => "Customer", "action" => "index")); ?>">お客様データベース  </a></li>
                    <?php endif; ?>
                    <li><a class="" id="building" href="<?php echo $this->Html->url(array("controller" => "Building", "action" => "index")); ?>">物件データベース  </a></li>
                    <li><a class="" id="camera" href="<?php echo $this->Html->url(array("controller" => "Camera", "action" => "index")); ?>">カメラのデータベース  </a></li>



                </ul>
            </li>
            <li class="sub-menu">
                <a id="watch_camera" href="<?php echo $this->Html->url(array("controller" => "watch_camera", "action" => "index")); ?>" class="">
                    <i class="icon-cogs"></i>
                    <span>カメラを見る</span>

                </a>

            </li>
            <li class="sub-menu">
                <a id="recording" href="<?php echo $this->Html->url(array("controller" => "recording", "action" => "index")); ?>" class="">
                    <i class="icon-tasks"></i>
                    <span>録画機能</span>

                </a>

            </li>
            <!--
                        <li class="sub-menu">
                            <a href="<?php echo $this->Html->url(array("controller" => "cut_video", "action" => "index")); ?>" class="">
                                <i class="icon-th"></i>
                                <span>録画の分割機能</span>
            
                            </a>
            
                        </li>-->
            <li class="sub-menu">
                <a id="see_file" href="<?php echo $this->Html->url(array("controller" => "see_file", "action" => "index")); ?>" class="">
                    <i class="icon-fire"></i>
                    <span>録画ファイルを見る機能</span>

                </a>

            </li>
            <li class="sub-menu ">
                <a id="checking" href="<?php echo $this->Html->url(array("controller" => "checking", "action" => "index")); ?>" class="">
                    <i class="icon-th"></i>
                    <span>カメラの監視機能 </span>

                </a>

            </li>
            <li class="sub-menu ">
                <a id="checking" href="<?php echo $this->Html->url(array("controller" => "setting", "action" => "index")); ?>" class="">
                    <i class="icon-asterisk"></i>
                    <span>設定 </span>

                </a>

            </li>
            <!--
                        <li class="sub-menu">
                            <a class="" href="map.html">
                                <i class="icon-trophy"></i>
                                <span>GOOGLE MAP</span>
            
                            </a>
            
                        </li>-->
             <li class="sub-menu">
                      <a class="" href="<?php echo $this->Html->url(array("controller" => "map", "action" => "index")); ?>">
                          <i class="icon-trophy"></i>
                          <span>GOOGLEマップ</span>
                         
                      </a>
                      
                  </li>
            <li><a class="" href="<?php echo $this->Html->url(array("controller" => "login", "action" => "logout")); ?>"><i class="icon-remove icon-white"></i>ログアウト  </a></li>

           


        </ul>
        <!-- END SIDEBAR MENU -->
    </div>
</div>